package com.example.mybatisplusdemo.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

public class UserCartProductDTO {

    private Long userId;
    private String username;
    private String mobile;
    private String email;
    private String avatar;
    private Integer gender;
    private LocalDate birthday;
    private Long levelId;
    private BigDecimal discountRate;
    private BigDecimal pointsMultiplier;
    private Boolean canReturnWithoutReview;
    private BigDecimal balance;
    private Integer points;
    private Boolean userDeleted;
    private LocalDateTime userCreateTime;
    private LocalDateTime userUpdateTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public BigDecimal getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(BigDecimal discountRate) {
        this.discountRate = discountRate;
    }

    public BigDecimal getPointsMultiplier() {
        return pointsMultiplier;
    }

    public void setPointsMultiplier(BigDecimal pointsMultiplier) {
        this.pointsMultiplier = pointsMultiplier;
    }

    public Boolean getCanReturnWithoutReview() {
        return canReturnWithoutReview;
    }

    public void setCanReturnWithoutReview(Boolean canReturnWithoutReview) {
        this.canReturnWithoutReview = canReturnWithoutReview;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Boolean getUserDeleted() {
        return userDeleted;
    }

    public void setUserDeleted(Boolean userDeleted) {
        this.userDeleted = userDeleted;
    }

    public LocalDateTime getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(LocalDateTime userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public LocalDateTime getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(LocalDateTime userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }

    private Long productId;
    private Long orderProductId;
    private Long categoryId;
    private String name;
    private String mainImage;
    private String productColor;
    private String productSize;
    private BigDecimal price;
    private BigDecimal productDiscountRate;
    private Long viewCount;
    private String origin;
    private String brand;
    private Boolean groupBuy;
    private Boolean pointsMall;
    private Long pointsPrice;
    private Long inventory;
    private Boolean productDeleted;
    private LocalDateTime productCreateTime;
    private LocalDateTime productUpdateTime;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getOrderProductId() {
        return orderProductId;
    }

    public void setOrderProductId(Long orderProductId) {
        this.orderProductId = orderProductId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public String getProductColor() {
        return productColor;
    }

    public void setProductColor(String productColor) {
        this.productColor = productColor;
    }

    public String getProductSize() {
        return productSize;
    }

    public void setProductSize(String productSize) {
        this.productSize = productSize;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getProductDiscountRate() {
        return productDiscountRate;
    }

    public void setProductDiscountRate(BigDecimal productDiscountRate) {
        this.productDiscountRate = productDiscountRate;
    }

    public Long getViewCount() {
        return viewCount;
    }

    public void setViewCount(Long viewCount) {
        this.viewCount = viewCount;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Boolean getGroupBuy() {
        return groupBuy;
    }

    public void setGroupBuy(Boolean groupBuy) {
        this.groupBuy = groupBuy;
    }

    public Boolean getPointsMall() {
        return pointsMall;
    }

    public void setPointsMall(Boolean pointsMall) {
        this.pointsMall = pointsMall;
    }

    public Long getPointsPrice() {
        return pointsPrice;
    }

    public void setPointsPrice(Long pointsPrice) {
        this.pointsPrice = pointsPrice;
    }

    public Long getInventory() {
        return inventory;
    }

    public void setInventory(Long inventory) {
        this.inventory = inventory;
    }

    public Boolean getProductDeleted() {
        return productDeleted;
    }

    public void setProductDeleted(Boolean productDeleted) {
        this.productDeleted = productDeleted;
    }

    public LocalDateTime getProductCreateTime() {
        return productCreateTime;
    }

    public void setProductCreateTime(LocalDateTime productCreateTime) {
        this.productCreateTime = productCreateTime;
    }

    public LocalDateTime getProductUpdateTime() {
        return productUpdateTime;
    }

    public void setProductUpdateTime(LocalDateTime productUpdateTime) {
        this.productUpdateTime = productUpdateTime;
    }

    private Long id;
    private Long fromUserId;
    private Long fromProductId;
    private BigDecimal quantity;
    private Boolean cartDeleted;
    private LocalDateTime cartCreateTime;
    private LocalDateTime cartUpdateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(Long fromUserId) {
        this.fromUserId = fromUserId;
    }

    public Long getFromProductId() {
        return fromProductId;
    }

    public void setFromProductId(Long fromProductId) {
        this.fromProductId = fromProductId;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public Boolean getCartDeleted() {
        return cartDeleted;
    }

    public void setCartDeleted(Boolean cartDeleted) {
        this.cartDeleted = cartDeleted;
    }

    public LocalDateTime getCartCreateTime() {
        return cartCreateTime;
    }

    public void setCartCreateTime(LocalDateTime cartCreateTime) {
        this.cartCreateTime = cartCreateTime;
    }

    public LocalDateTime getCartUpdateTime() {
        return cartUpdateTime;
    }

    public void setCartUpdateTime(LocalDateTime cartUpdateTime) {
        this.cartUpdateTime = cartUpdateTime;
    }
}
